From: Florian Müllner Date: Sat, 21 Dec 2019 02:31:14 +0000 (+0100) Subject: systemActions: Alias power-off to halt and stop X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~781^2^2~264 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=b0753f78ccfd8690aaa9f5e5bb27157b264f4526;p=gnome-shell.git systemActions: Alias power-off to halt and stop Those are words users may reasonably use when trying to shut down their computer, so add them to the list of keywords. https://bugzilla.gnome.org/show_bug.cgi?id=791659 --- diff --git a/js/misc/systemActions.js b/js/misc/systemActions.js index 6e9907b71..07e1880b3 100644 --- a/js/misc/systemActions.js +++ b/js/misc/systemActions.js @@ -89,7 +89,7 @@ const SystemActions = GObject.registerClass({ name: C_("search-result", "Power Off"), iconName: 'system-shutdown-symbolic', // Translators: A list of keywords that match the power-off action, separated by semicolons - keywords: _("power off;shutdown;reboot;restart").split(/[; ]/), + keywords: _('power off;shutdown;reboot;restart;halt;stop').split(/[; ]/), available: false, }); this._actions.set(LOCK_SCREEN_ACTION_ID, {